package com.youlai.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "问题分类表单对象")
@Data
public class QuestionForm {
    @Schema(description="问题分类ID")
    private Long id;

    @Schema(description = "是否指标类")
    @NotNull(message = "指标类属性不能为空")
    private Integer quota;

    @Schema(description="问题分类内容")
    @NotBlank(message = "问题分类内容不能为空")
    private String content;

    @Schema(description="排序")
    private Integer sort;
}
